﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<TestWeb.Models.ViewModel>" %>
<ul class="current">
	<li>
		<a href="#nogo" class="show-selectsub"><b>Loại tin tức</b></a>
		<div class="select_sub show">
			<ul class="sub">
				<li class="sub_show"><a href="#nogo">Xem danh sách</a></li>
				<li><a href="#nogo">Thêm mới</a></li>
			</ul>
		</div>
	</li>
</ul>
<div class="nav-divider">&nbsp;</div>
<ul class="select-cate">
	<li>
		<a href="#" class="hide-selectsub"><b>Tin tức</b></a>
		<div class="account-content">
			<div class="account-drop-inner">
		 <% for (int i = 0; i < Model.LoaiTinTucs.Count; i++)
			{
				if (i < Model.LoaiTinTucs.Count - 1)
				{%>
				<div>
					<a href=""><%= Model.LoaiTinTucs[i].TenLoaiTinTuc %></a>
					<div class="clear">&nbsp;</div>
					<div class="acc-line">&nbsp;</div>
				</div>
				<% }
				else
				{ %>
				<div>
					<a href=""><%= Model.LoaiTinTucs[i].TenLoaiTinTuc %></a>
				</div>
			 <% } %>
		<% } %>
			</div>
		</div>
	</li>
</ul>
<div class="clear"></div>
